//var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'total', { preload: preload, create: create, update: update, render: render });

var MAP_HEIGHT = 600;
var MAP_WIDTH = 800;

var game = new Phaser.Game(MAP_WIDTH,MAP_HEIGHT, Phaser.CANVAS, 'total');


game.state.add('Preloader', BasicGame.Preloader);
game.state.add('MainMenu', BasicGame.MainMenu);
game.state.add('MapLevel', BasicGame.MapLevel);
game.state.add('Battle', BasicGame.Battle);

game.state.start('Preloader', true, false);
